
public class MazeNode {

	public enum Type {
		FOOD, PIT, BANAL, TROLL, START, TREASURE
	}

	private final Type type;
	private String name;
	private int food_gain;
	private int food_consume;

	public Type getType() {
		return type;
	}

	public String getName() {
		return name;
	}

	public int getFood_gain() {
		return food_gain;
	}
	

	public void setFood_gain(int food_gain) {
		this.food_gain = food_gain;
	}

	public int getFood_consume() {
		return food_consume;
	}
	

	public MazeNode(String name, Type type, int food_gain, int food_cosume) {
		this.name = name;
		this.type = type;
		this.food_gain = food_gain;
		this.food_consume = food_cosume;
	}

	public String toString(){
		return this.getName();
	}
	

}
